package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;
@TableMapperAnnotation(tableName="information" ,uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")

public class Information extends Domain{
	private static final long serialVersionUID = 1L;
	@FieldMapperAnnotation
	private Integer id;   //跳蚤id 
	@FieldMapperAnnotation
	private String title;   //题目
	@FieldMapperAnnotation
	private String onepic;   //首页图片
	@FieldMapperAnnotation
	private String msg;   //内容
	@FieldMapperAnnotation
	private String msgpic;   //内容图片
	@FieldMapperAnnotation
	private long starttime;   //时间
	@FieldMapperAnnotation
	private Integer dianzan;   //点赞
	@FieldMapperAnnotation
	private Integer commentsnum;   //评论
	@FieldMapperAnnotation
	private Integer state;   //状态
	@FieldMapperAnnotation
	private Integer propertyid;   //物业
	
	
	

	public Integer getPropertyid() {
		return propertyid;
	}
	public void setPropertyid(Integer propertyid) {
		this.propertyid = propertyid;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getOnepic() {
		return onepic;
	}
	public void setOnepic(String onepic) {
		this.onepic = onepic;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getMsgpic() {
		return msgpic;
	}
	public void setMsgpic(String msgpic) {
		this.msgpic = msgpic;
	}
	public long getStarttime() {
		return starttime;
	}
	public void setStarttime(long starttime) {
		this.starttime = starttime;
	}
	public Integer getDianzan() {
		return dianzan;
	}
	public void setDianzan(Integer dianzan) {
		this.dianzan = dianzan;
	}
	public Integer getCommentsnum() {
		return commentsnum;
	}
	public void setCommentsnum(Integer commentsnum) {
		this.commentsnum = commentsnum;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "Information [id=" + id + ", title=" + title + ", onepic="
				+ onepic + ", msg=" + msg + ", msgpic=" + msgpic
				+ ", starttime=" + starttime + ", dianzan=" + dianzan
				+ ", commentsnum=" + commentsnum + ", state=" + state
				+ ", ";
	}

	
}
